export function planDataColumns(){
  let list = [
    {
      title: '季度',
      key: "taskQuarter",
    },
    {
      title: '进度百分比',
      key: "progressPercentage",
      render: (h, params) => {
        return h('span', `${params.row.progressPercentage}%`)
      }
    },
    {
      title: '当前状态',
      key: 'currentStatus',
      render: (h, params) => {
        return h('span', (params.row.progressPercentage === null || params.row.progressPercentage === '' || params.row.progressPercentage === undefined) ? 
        '--' : (params.row.currentStatus ? params.row.currentStatus : '--'))
      }
    },
    {
      title: '进度说明',
      key: "statusNotice",
    },
    {
      title: '操作',
      align: "left",
      fixed: "right",
      width: 90,
      render: (h, params) => {
        return h("RowTools", {
          props: {
            data: [
              {
                type: "text",
                text: '详情',
                handle: () => {
                  this.goDetail(params.row);
                }
              },
            ]
          }
        });
      }
    },
  ]
  return list
}